package com.uyayo.system.monitor.service;

import com.uyayo.framework.message.model.Result;
import com.uyayo.framework.pagehelper.pojo.PageBean;
import com.uyayo.system.monitor.entity.SysSession;
import com.uyayo.system.monitor.model.SysSessionCondition;

import java.util.List;

public interface SessionsService {

	SysSession getSessionById(String id) throws Exception;

	PageBean<SysSession> selectSession(int pageNum,Integer pageSize,String sort,String order,SysSessionCondition sysSessionCondition) throws Exception;

	Result deleteSession(String ids);

	int deleteSessionById(String id);

	int updateByLogoutTimeIsNull(SysSession sessions);

	int insertSelective(SysSession sessions);

	int updateByPrimaryKeySelective(SysSession sessions);


    int deleteSessionMonitor(String ids);

	List<SysSession> selectSessionMonitor(String sort,String order,SysSessionCondition sysSessionCondition);
}
